package com.hz.web.service;

import java.util.List;
import com.hz.web.entity.DepartmentEntity;
public interface IdepartmentService {

	/**
	 * 插入部门信息
	 * @param entity
	 * @return
	 */
	int adddDepartment(DepartmentEntity entity);
	/**
	 * 查询部门信息
	 * @param parmsMap
	 * @return
	 */
	List<DepartmentEntity> queryDepartment(DepartmentEntity entity,int page ,int rows);
	/**
	 * 查询部门信息总条数
	 * @param parmsMap
	 * @return
	 */
	int queryDepartmentCount (DepartmentEntity entity);
	/**
	 * 修改信息
	 * @param parmsMap
	 * @return
	 */
	int updateDepartment (DepartmentEntity entity);
}
